package com.xiaoshuidi.cloud.module.bpm.controller.app.swo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

@Data
public class AppSwoTicketCreateReqVO {

    @Schema(description = "租客房间")
    @NotNull(message = "房间不能为空")
    private Long roomId;

    @Schema(description = "房间全名")
    @NotNull(message = "房间全名不能为空")
    private String roomFullName;

    @Schema(description = "租客姓名")
    private String customerName;

    @Schema(description = "租客手机")
    private String customerMobile;

    @Schema(description = "服务类型", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务类型不能为空")
    private int serviceType;

    @Schema(description = "服务日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务开始日期不能为空")
    private LocalDateTime serviceTimeStart;

    @Schema(description = "服务日期", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "服务结束日期不能为空")
    private LocalDateTime serviceTimeEnd;

    @Schema(description = "服务内容")
    private String content;

    @Schema(description = "附件，以;分开", requiredMode = Schema.RequiredMode.REQUIRED)
    private String attachments;
}
